<template>
  <button type="button" class="btn" 
    :class="type" 
    :disabled="type === 'disabled'" 
    @click="$emit('on-click')">
    <slot></slot>
  </button>
</template>

<script>
export default {
  props: {
    type: { // default, main
      type: String,
      default: ''
    }
  }
}
</script>